package game

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
	"github.com/flipped-aurora/gin-vue-admin/server/model/game"
)

//@author: [piexlmax](https://github.com/piexlmax)
//@function: CreateApi
//@description: 新增基础api
//@param: api model.SysApi
//@return: err error

type RankService struct{}

var RankServiceApp = new(RankService)

func (service *RankService) CreateRank(param game.BsRank) (err error) {
	return global.GVA_DB.Create(&param).Error
}
